package com.changgou.seckill.service;

import com.changgou.common.pojo.SeckillStatus;

/**
 * @author tu zy
 * @version 1.0
 * @date 2021/7/21 21:11
 */

public interface SeckillOrderService {

    /**
     * 下单
     * @param time
     * @param id
     * @param username
     */
    Boolean add(String time, Long id, String username);


    Boolean addQueue(String time, Long id, String username);

    /**
     * 状态查询
     */
    SeckillStatus queryStatus(String username);

}
